package ai.plantdata.vo;

import lombok.Data;

import java.util.List;

/**
 * @Author: WangHui
 * @Date: 2021/7/14 18:02
 * @Description: 关联表模型，表示关联表
 */
@Data
public class AssociationTable {
    //关联表名
    private String tableName;

    //自定义关系名
    private String name;

    private String fromField;

    private String toField;

    private Table from;

    private Table to;

    //表示边数值属性字段
    private List<String> attrField;

    @Data
    public class Table {

        private String tableName;

        private String field;

        private String nameField;

        private String meanTagField;
    }
}
